<?php
/* @var $this GuestbookController */
/* @var $model Guestbook */

$this->breadcrumbs=array(
	'Guestbooks'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Guestbook', 'url'=>array('index')),
	array('label'=>'Create Guestbook', 'url'=>array('create')),
	array('label'=>'Update Guestbook', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Guestbook', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Guestbook', 'url'=>array('admin')),
);
?>

<h1>Guestbook Record#<?php echo $model->id; ?></h1>

<!--<?php 
	echo '<b>'.'Date/Time Created:'.'</b>'.$model->inquiry_timestamp . '<br>';
	echo '<b>Guest Name:'.'</b>'.$model->name . '<br>';
	echo '<b>Email Address:'.'</b>'.$model->email . '<br>';
	echo '<b>Contact Number:'.'</b>'.$model->contact_number . '<br>';
	echo '<b>Date Avaialble:'.'</b>'.$model->preferred_date . '<br>'; 
	echo '<b>Time Available:'.'</b>'.$model->preferred_time . '<br>';
	echo '<b>Update:'.'</b>'.$model->update. '<br>';
?>--> 

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'id',	
		//'inquiry_timestamp',
		array('label'=>'Date/Time Created:', 'value'=>$model->inquiry_timestamp),
		//'name',
		array('label'=>'Guest Name:', 'value'=>$model->name),
		//'email',
		array('label'=>'Email Address:', 'value'=>$model->email),	
		//'contact_number',
		array('label'=>'Contact Number:', 'value'=>$model->contact_number),	
		//'preferred_date',
		array('label'=>'Available Date:', 'value'=>$model->preferred_date),	
		//'preferred_time',
		array('label'=>'Available Time:', 'value'=>$model->preferred_time),	
		//'update',
		array('label'=>'Update:', 'value'=>$model->update),	

	),
)); ?>
